package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "process_log")
public class ProcessLog {

    @TableId(type = IdType.AUTO)
    private long id;
    @TableField(value = "user_id")
    private int userId;
    @TableField(value = "class_name")
    private String className;
    @TableField(value = "method_name")
    private String methodName;
    @TableField(value = "process_info")
    private String processInfo;
    @TableField(value = "params_info")
    private String paramsInfo;
    @TableField(value = "create_time")
    private Date createTime;
}
